@import url(./base.css);
@import url(./modules/header.css);
@import url(./modules/footer.css);

main{
    width: 100%;
    .empty{
        display: none;
        height: 388px;
        width: 100%;
        border-top: 2px solid black;
        .top{
            width: 1125px;
            height: 60px;
            ul{
                width: 1125px;
                height: 60px;
                margin-left: 140px;
                margin-top: 52px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                li{
                    width: 550px;
                    height: 60px;
                    border-bottom: 2px solid #999999;
                    color: #999999;
                }
                .ac{
                    color: #333333;
                    border-bottom: 2px solid #333333;
                }
            }
        }
        .bottom{
            height: 130px;
            width: 400px;
            margin-top: 60px;
            margin-left: 140px;
            ul{
                height: 130px;
                width: 400px;
                display: flex;
                flex-direction: column;
                align-items: left;
                justify-content: space-between;
                li:nth-child(1){
                    font-size: 30px;
                    font-weight: 700;
                    color: black;
                }
                li{
                    font-size: 17px;
                    color: #666666;
                    a{
                        color: #666666;
                    }
                }
            }
        }
    }
    .have{
        width: 100%;
        .top{
            width: 1125px;
            height: 150px;
            margin-left: 20px;
            ul{
                width: 1125px;
                height: 60px;
                margin-left: 140px;
                margin-top: 52px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                li{
                    width: 550px;
                    height: 60px;
                    border-bottom: 2px solid #999999;
                    color: #999999;
                }
                .ac{
                    color: #333333;
                    border-bottom: 2px solid #333333;
                }
            }
            .continueshopping{
                width: 90px;
                height: 30px;
                margin-left: 140px;
                margin-top: 60px;
                a{
                    font-size: 17px;
                    font-weight: 600;
                    color: #333333;  
                }
            } 
        }
        .mybag{
            width: 830px;
            margin-left: 160px;
            margin-top: 40px;
            p{
                color: black;
                font-size: 20px;
                font-weight: 700;
                margin-bottom: 30px;
            }
            .productlist{
                width: 830px;
                height: 66px;
                background-color: #eeeeee;
                .inputall{
                    width: 20px;
                    height: 20px;
                    background-color: #fff;
                    border: 1px solid #c9c9c9;
                    border-radius: 2px;
                    outline: none;
                    display: block;
                    float: left;
                    margin-top: 20px;
                    margin-left: 20px;
                }
                ul{
                    height: 22px;
                    width: 730px;
                    float: right;
                    margin-top: 20px;
                    margin-right: 50px;
                    li{
                        float: left;
                        font-size: 20px;
                        color: black;
                    }
                    li:nth-child(1){
                        margin-right: 170px;
                    }
                    li:nth-child(2){
                        margin-right: 240px;
                    }
                    li:nth-child(3){
                        margin-right: 60px;
                    }
                    li:nth-child(4){
                        margin-right: 60px;
                    }
                }
            }
            .commodity{
                width: 100%;
                // background-color: rgb(248, 69, 69);
                div{
                    overflow: hidden;
                }
                .second{
                    width: 20px;
                    height: 20px;
                    background-color: #fff;
                    border: 1px solid #c9c9c9;
                    border-radius: 2px;
                    outline: none;
                    display: block;
                    float: left;
                    margin-top: 120px;
                    margin-left: 20px;
                }
                .littleimg{
                    width: 150px;
                    height: 150px;
                    margin-top: 60px;
                    margin-left: 18px;
                    float: left;
                    img{
                        width: 150px;
                        height: 150px;
                    }
                }
                .edit{
                    width: 250px;
                    height: 100px;
                    float: left;
                    margin-top: 70px;
                    margin-left: 50px;
                    ul{
                        width: 100%;
                        height: 100%;
                        .one{
                            font-size: 15px;
                            color: black;
                        }
                        li{
                            margin-bottom: 30px;
                            font-size: 13px;
                            color: black;
                            font-family: Arial, Helvetica, sans-serif;
                            span{
                                display: block;
                                float: left;
                                margin-right: 10px;
                                text-decoration: underline;
                                cursor: pointer;
                            }
                        }
                    }
                }
                .unitprice{
                    width: 260px;
                    height: 25px;
                    float: right;
                    margin-right: 30px;
                    margin-top: 65px;
                    ul{
                        width: 100%;
                        height: 100%;
                        li{
                            float: left;
                            margin-right: 40px;
                            .num{
                                width: 15px;
                                height: 15px;
                            }
                        }
                        li:nth-child(3){
                            margin-right: 0;
                            text-decoration: line-through;
                        }
                    }
                }
            }
            .discounts{
                width: 100%;
                height: 120px;
                border-top: 1px solid #999999;
                margin-top: 20px;
                span{
                    display: block;
                    float: left;
                    margin-top: 50px;
                    font-weight: 700;
                    color: black;
                }
                #code{
                    display: block;
                    float: left;
                    width: 180px;
                    height: 34px;
                    margin-top: 36px;
                    margin-left: 108px;
                }
                button{
                    display: block;
                    float: left;
                    height: 40px;
                    width: 85px;
                    background-color: rgb(0, 0, 0);
                    color: white;
                    border: none;
                    margin-top: 36px;
                }
            }
            .sunmarize{
                width: 100%;
                height: 100px;
                border-bottom: 1px solid #999999;
                .orderamount{
                    float: left;
                    height: 20px;
                    width: 75px;
                    margin-top: 35px;
                    font-weight: 600;
                }
                ul{
                    float: left;
                    width: 66px;
                    height: 60px;
                    margin-left: 463px;
                    margin-top: 28px;
                    li{
                        margin-bottom: 10px;
                    }
                }
                ol{
                    float: left;
                    width: 66px;
                    height: 60px;
                    margin-left: 136px;
                    margin-top: 28px;
                    li{
                        margin-bottom: 10px;
                    }
                }
            }
            .total{
                width: 100%;
                height: 30px;
                margin-top: 40px;
                ul{
                    font-weight: 600;
                    color:black;
                    li:nth-child(1){
                        float: left;
                    }
                    li:nth-child(2){
                        float: right;
                        margin-right: 45px;
                    }
                }
            }
            .lijijiesuan{
                width: 100%;
                height: 30px;
                margin-top: 30px;
                a{
                    display: block;
                    float: left;
                    color: black;
                }
                span{
                    font-weight: 600;
                    height: 38px;
                    width: 175px;
                    display: block;
                    font-size: 13px;
                    float: right;
                    color: white;
                    line-height: 38px;
                    text-align: center;
                    background-color: #a2221f;
                }
            }
        }
    }
}